#pragma once

#include <Windows.h>
#include <gl\GL.h>
#include <gl\GLU.h>

#include <opencv\cv.h>

#include "RenderSystem.h"

namespace TUMAR { namespace Render {
	class VideoRenderer : public AbstractRenderer
	{
	private:
		cv::Mat buffer;
		int width;
		int height;
	public:
		VideoRenderer(void);
		virtual ~VideoRenderer(void);
		virtual void Resize(int width, int height);
		virtual void Render(void);

		void OnImageCaptured(const cv::Mat& image);
	};
}}

